home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 May: Tool Chest / Developer CD Series May 1996 (Tool Chest) (Apple Computer) (1996).iso / Sample Code / SCSI Samples 1.0 / SCSI Find Devices 06⁄15 ƒ / Read Me < prev    next >
Encoding:
Text File  |  1994-06-21  |  1.5 KB  |  43 lines  |  [TEXT/ttxt]

  1. SCSI Find Devices - Illustrates how to find all SCSI devices.
  2. Copyright © 1994, Apple Computer Inc. All Rights Reserved.
  3.  
  4. This contains a very simple "wrapper" main program and a
  5. rather complex subroutine that illustrates how to iterate over
  6. all attached SCSI devices. It can be used by SCSI utility programs
  7. - such as formatters - that need to locate all SCSI devices.
  8.  
  9. It compiles on the following environments:
  10.  
  11. Think C 7.0
  12. MPW 3.3.1
  13. MetroWerks DR3
  14.  
  15. At this time, this program cannot be compiled in native mode for
  16. Power Macintosh because the "scsi.h" file has not been completely
  17. converted to the Universal Header format. However, the program
  18. does run in compatibility mode on Power Macintosh.
  19.  
  20. Note that, if you are compiling for MetroWerks, you must build
  21. the resources (in file "SCSI Find Devices.µ.rsrc") by calling Rez
  22. - you can either build the MPW version first or make the
  23. MetroWerks option in the MakeFile.
  24.  
  25. [[There is no resource file at this time]]
  26.  
  27. Because these sources build a half-dozen version of the sample,
  28. (three compilers, 68000 native, 68000 on Power Mac, Power
  29. Mac native someday), some notes on compatibility are in order:
  30.  
  31. 1. The program was originally written and debugged using
  32.     Think C on a Quadra 950.
  33. 2. It was then compiled and tested using MPW 3.3.1.
  34. 3. It was then compiled and tested using MetroWerks DR3.
  35.  
  36. Each additional compiler found a different set of errors and
  37. warnings. In all cases, optional warnings were turned on.
  38.  
  39. Written by Martin Minow, MACDTS.
  40. minow@apple.com
  41. AppleLink: MINOW
  42.  
  43.